<?php
header( "cache-control: no-store, no-cache, must-revalidate" );
include_once( "inc/session.php" );
session_start();
if(isset($_SESSION['LOGIN_UID']) && $_SESSION['LOGIN_UID']>0){
    header("Location: /general/");
}
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>ERP</title>

    <link href="/assets/bootstrap/css/bootstrap.css" rel="stylesheet">

    <link href="/assets/css/signin.css" rel="stylesheet">

    <script type='text/javascript' src='/assets/js/jquery-1.9.1.min.js'></script>


</head>
<body>
<div class="container">

    <form class="form-signin"  name="form1" method="post" action="logincheck.php" autocomplete="off" onsubmit="return CheckForm();">
        <h2 class="form-signin-heading">用户登录</h2>
        <input type="text" class="form-control" placeholder="用户名" required autofocus  name="UNAME" />
        <input type="password" class="form-control" placeholder="密码"  name="PASSWORD" />
        <label class="checkbox">
            <input type="checkbox" value="remember-me"> 记住帐号
        </label>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
    </form>

</div> <!-- /container -->

</body>
</html>
